const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  userInfo: state => state.user.userInfo,
  menuParam: state => state.permission.menuParam,
  sexLists: state => state.baseData.sexLists,
  natLists: state => state.baseData.natLists, // 民族
  citTypeLists: state => state.baseData.citTypeLists, // 证件类型代码
  schrecLists: state => state.baseData.schrecLists, // 学历
  posgrLists: state => state.baseData.posgrLists, // 职务
  grLists: state => state.baseData.grLists, // 职级
  tecgrLists: state => state.baseData.tecgrLists, // 技术等级
  salagrLists: state => state.baseData.salagrLists, // 工资级别
  agencyBankLists: state => state.baseData.agencyBankLists, // 银行
  countryLists: state => state.baseData.countryLists, // 国籍
  personPerideLists: state => state.baseData.personPerideLists, // 人员身份
  fundmodeLists: state => state.baseData.fundmodeLists, // 人员经费保障方式
  agencyLists: state => state.baseData.agencyLists, // 单位信息集合
  meritPayCodeList:state => state.baseData.meritPayCodeList,//工资类型
  salaryTypes: state => state.baseData.salaryTypes, // 人员类型
  personTypeList: state => state.baseData.personTypeList,//标准工资人员类型
  postList: state => state.baseData.postList,//标准工资职务
  gradeList: state => state.baseData.gradeList,//标准工资档次
  levelList: state => state.baseData.levelList,//标准工资级别 
  getFirstAuthAgencyData: state => state.baseData.getFirstAuthAgencyData,//有权限得第一家单位
  agencyTreeData: state => state.baseData.agencyTreeData
}
export default getters
